package com.demo.entity;

import java.util.Date;
//用户信息实体类
public class User {
	private int userId; 				// 用户编号
	private String email;				 // 用户邮箱
	private String username;	// 用户姓名
	private String password;		// 用户密码
	private int type;						// 用户身份
	private int  state;					// 用户状态
	private Date registTime;		// 注册时间

	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Date getRegistTime() {
		return registTime;
	}
	public void setRegistTime(Date registTime) {
		this.registTime = registTime;
	}

}
